﻿@model SRV.ViewModel.Article.EditModel


@using (Html.BeginForm())
{
    <label><b>标题：（必填）</b></label>
    @Html.TextBoxFor(m => m.Title, new
{
    @class = "form-control",
})
    <br />
    <label><b>内容：（必填）</b></label>
    @Html.TextAreaFor(m => m.Description, new
{
    @class = "form-control",
    style = "height:300px"
})
    <br />
    <label><b>关键字：（*必填）</b></label>
    @Html.TextBoxFor(m => m.Keyword, new
{
    @class = "form-control",
    placeholder = "用空格分隔，总长度不超过25个字符"

})
    <br />
    <label><b>摘要:（*建议填写</b></label>
    @Html.TextAreaFor(m => m.Abstract, new
{
    @class = "form-control",
})
    <br />
    <div class="alert alert-warning" style="display:block;border: 1px dashed">
        <br />
        <label><b>文字内容：（必填）</b></label>
        @Html.TextBoxFor(m => m.Text, new
    {
       @class = "form-control",
       placeholder = "最多不超过24个字符"
    })
        <br />
        <label><b>链接：（必填）</b></label>
        @Html.TextBoxFor(m => m.Link, new
    {
       @class = "form-control",
       placeholder = "http或https开头的网址"
    })
    </div>
    <button type="submit" class="btn btn-primary">发布为最新</button>
    <button type="button" class="btn btn-light">保存基本内容</button>

}
